package tech.xs.auth.api;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import tech.xs.auth.api.domain.bo.password.ResetDefaultPasswordBo;
import tech.xs.common.framework.domain.model.ApiResult;

@FeignClient(name = "${framework.service.auth.name}", contextId = "UserPasswordApi")
public interface AuthUserPasswordApi {

    @PostMapping("/password/resetDefaultPassword")
    ApiResult<Void> resetDefaultPassword(@RequestBody ResetDefaultPasswordBo bo);

}
